package the.broccoli.setting.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import org.wisteria.framework.web.mvc.entity.SuperEntity;

/**
 * <p>
 * 多语言
 * </p>
 *
 * @author lei.liu
 * @since 2020-04-18
 */
@TableName("setting_language")
public class Language extends SuperEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 多语言ID
     */
    @TableId("language_id")
    private String languageId;

    /**
     * 代码
     */
    @TableField("constant")
    private String constant;

    /**
     * 编码
     */
    @TableField("language_code")
    private String languageCode;

    /**
     * 中文
     */
    @TableField("language_zh_cn")
    private String languageZhCn;

    /**
     * 英文
     */
    @TableField("language_en_us")
    private String languageEnUs;

    public String getLanguageId() {
        return languageId;
    }

    public void setLanguageId(String languageId) {
        this.languageId = languageId;
    }
    public String getConstant() {
        return constant;
    }

    public void setConstant(String constant) {
        this.constant = constant;
    }
    public String getLanguageCode() {
        return languageCode;
    }

    public void setLanguageCode(String languageCode) {
        this.languageCode = languageCode;
    }
    public String getLanguageZhCn() {
        return languageZhCn;
    }

    public void setLanguageZhCn(String languageZhCn) {
        this.languageZhCn = languageZhCn;
    }
    public String getLanguageEnUs() {
        return languageEnUs;
    }

    public void setLanguageEnUs(String languageEnUs) {
        this.languageEnUs = languageEnUs;
    }

    @Override
    public String toString() {
        return "Language{" +
            "languageId=" + languageId +
            ", constant=" + constant +
            ", languageCode=" + languageCode +
            ", languageZhCn=" + languageZhCn +
            ", languageEnUs=" + languageEnUs +
        "}";
    }
}
